﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<GestionIncidencias.IncidentesWS.Incidente>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	CreateCola
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Registrar Incidencias </h2>
    <% Html.EnableClientValidation(); %>

    <% using (Html.BeginForm()) {%>
        <%: Html.ValidationSummary(true) %>

        <fieldset>
            <legend>Datos de Incidencias</legend>
            
            <table>

                <tr>
                    <td>
                        <div class="editor-label">
                            <%: Html.LabelFor(model => model.Cliente) %>
                        </div>
                    </td>
                    <td>
                         <div class="editor-field">
                            <%: Html.TextBoxFor(model => model.Cliente) %>
                            <%: Html.ValidationMessageFor(model => model.Cliente) %>
                        </div>    
                    </td>
                </tr>


                <tr>
                    <td>
                        <div class="editor-label">
                            <%: Html.LabelFor(model => model.Servicio) %>
                        </div>
                
                    </td>
                    <td>
                        <div class="editor-field">
                            <%: Html.TextBoxFor(model => model.Servicio) %>
                            <%: Html.ValidationMessageFor(model => model.Servicio) %>
                        </div>        
                    </td>
                </tr>

                
                <tr>
                    <td>
                        <div class="editor-label">
                            <%: Html.LabelFor(model => model.Tecnico) %>
                        </div>
                    </td>
                    <td>
                        <div class="editor-field">
                            <%: Html.TextBoxFor(model => model.Tecnico) %>
                            <%: Html.ValidationMessageFor(model => model.Tecnico) %>
                        </div>   
                    </td>
                </tr>
             

                <tr>
                    <td>
                         <div class="editor-label">
                            <%: Html.LabelFor(model => model.Tipo) %>
                        </div>
                    </td>
                    <td>
                         <div class="editor-field">
                            <%: Html.TextBoxFor(model => model.Tipo) %>
                            <%: Html.ValidationMessageFor(model => model.Tipo) %>
                        </div>    
                    </td>
                </tr>


                 <tr>
                    <td>
                        <div class="editor-label">
                            <%: Html.LabelFor(model => model.Descripcion) %>
                        </div>
            
                    </td>
                    <td>
                        <div class="editor-field">
                            <%: Html.TextBoxFor(model => model.Descripcion) %>
                            <%: Html.ValidationMessageFor(model => model.Descripcion) %>
                        </div>
                    </td>
                </tr>
                

                <tr>
                    <td>
                        <div class="editor-label">
                            <%: Html.LabelFor(model => model.Evaluacion) %>
                        </div>            
                    </td>
                    <td>
                         <div class="editor-field">
                            <%: Html.TextBoxFor(model => model.Evaluacion) %>
                            <%: Html.ValidationMessageFor(model => model.Evaluacion) %>
                        </div>
                    </td>
                </tr>
                
                <tr>
                    <td>
                        <div class="editor-label">
                            <%: Html.LabelFor(model => model.Solucion) %>
                        </div>                
            
                    </td>
                    <td>
                        <div class="editor-field">
                            <%: Html.TextBoxFor(model => model.Solucion) %>
                            <%: Html.ValidationMessageFor(model => model.Solucion) %>
                        </div>

                    </td>
                </tr>

                 <tr>
                    <td>
                        <div class="editor-label">
                            <%: Html.LabelFor(model => model.ComentarioSolucion) %>
                        </div>    
                    
                    </td>
                    <td>
                         <div class="editor-field">
                            <%: Html.TextBoxFor(model => model.ComentarioSolucion) %>
                            <%: Html.ValidationMessageFor(model => model.ComentarioSolucion) %>
                        </div>   

                    </td>
                </tr>
            
            </table>           

           
            
            <p>
                <input type="submit" value="CreateCola" />
            </p>
        </fieldset>

    <% } %>

    <div>
        <%: Html.ActionLink("Back to List", "Index") %>
    </div>

</asp:Content>

